Home
last modified time | relevance | path

Searched hist:cd734d54e67990eebfc3106dc39047c1141d4197 (Results 1 – 2 of 2) sorted by last modified time

/linux/include/uapi/linux/
H A Dptp_clock.hdiff cd734d54e67990eebfc3106dc39047c1141d4197 Thu Nov 14 19:44:55 CET 2019 Richard Cochran <richardcochran@gmail.com> ptp: Validate requests to enable time stamping of external signals.

Commit 415606588c61 ("PTP: introduce new versions of IOCTLs")
introduced a new external time stamp ioctl that validates the flags.
This patch extends the validation to ensure that at least one rising
or falling edge flag is set when enabling external time stamps.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/linux/drivers/ptp/
H A Dptp_chardev.cdiff cd734d54e67990eebfc3106dc39047c1141d4197 Thu Nov 14 19:44:55 CET 2019 Richard Cochran <richardcochran@gmail.com> ptp: Validate requests to enable time stamping of external signals.

Commit 415606588c61 ("PTP: introduce new versions of IOCTLs")
introduced a new external time stamp ioctl that validates the flags.
This patch extends the validation to ensure that at least one rising
or falling edge flag is set when enabling external time stamps.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>